import React from 'react';
import ReactDOM from 'react-dom';

import './index.css' ;

import Counter from './components/counter' ;
import Cart from './components/cart' ;

ReactDOM.render(
  <React.StrictMode>
    <h3>组件的生命周期</h3>
    {/* <Counter value="250"></Counter> */}
    <Cart></Cart>
  </React.StrictMode>,
  document.getElementById('root')
);